﻿using Abp.Application.Services.Dto;
using System;

namespace Camc.Quality.OperationHistory
{
    public class OperationLogDto : EntityDto<Guid>
    {
        /// <summary>
        /// 业务ID
        /// </summary>
        public Guid BusinessId { get; set; }
        /// <summary>
        /// 操作履历--业务类型，一般定义为功能模块，例如Bop管理，质量管理
        /// </summary>
        public BusinessTypes BusinessType { get; set; }
        /// <summary>
        /// 操作履历--业务类型描述
        /// </summary>
        public string BusinessTypeDesc { get; set; }
        /// <summary>
        /// 操作履历--操作类型，增删改等
        /// </summary>
        public OperationTypes OperationType { get; set; }
        /// <summary>
        /// 操作履历描述
        /// </summary>
        public string OperationTypeDesc { get; set; }
        /// <summary>
        /// 用户ID
        /// </summary>
        public string UserName { get; set; }
        /// <summary>
        /// 操作详情
        /// </summary>
        public string Content { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreationTime { get; set; }
    }
}
